UCase and UpperCase (str) are equivalent functions. However, UCase is preferred in Basic syntax, whereas UpperCase is preferred in Crystal syntax.
UCase converts the given string to all upper case and returns it.
A good use of this function is when a field contains both uppercase and lowercase letters and you want to convert all letters to uppercase for consistency.
The following examples are applicable to both Basic and Crystal syntax:
Returns "RONALD", where {customer.FIRST NAME} contains "Ronald".
UCase("BrEaD " + "AND " + "bUtTeR")
This function is designed to work like the Visual Basic function of the same name.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |